package com.jds.apps.hr.employee.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

import com.jds.apps.hr.employee.form.ext.AbstractEmployeeSearchListItemForm;


/**
 * 
 */
public class EmployeeSearchListItemForm extends
        AbstractEmployeeSearchListItemForm {

    java.util.Map linkDataMap;
    
    public ActionErrors validate(ActionMapping mapping, 
            HttpServletRequest request) {

        ActionErrors errors = new ActionErrors();
        return errors;
     }

    /**
     * @return Returns the linkDataMap.
     */
    public java.util.Map getLinkDataMap() {
        linkDataMap = new java.util.HashMap();
        linkDataMap.put("id", super.getEmployeeId());
        return linkDataMap;
    }

    public String getFullName() {
        return super.getLastName() + ", " + super.getFirstName() + " " + 
        		super.getMiddleName();
    }
}
